﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BioModel;
using System.ServiceModel;

namespace BioDAL
{
    [ServiceContract]
    public interface ISaedeDAL
    {
        void OpenConnection(string connectionString);
        void CloseConnection();

        int GetMaxSal(string kolonneNavn, int sal);

        void InsertSaede(int saedeNr, int raekkeNr, int forestillingsId);
        void EditSaede(int saedeId, string saedeStatus);
        List<Saede> AlleSaeder();
        List<Saede> AlleSaederFraForestilling(int forestillingsId);
        Saede GetEnSaede(int saedeId);
        void SletEnSaede(int salId);
    }
}
